﻿using RentalDTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RentalIService
{
    public interface IServiceRole : IServiceSupport
    {
        List<RoleDTO> selectList();
        List<RoleDTO> ShowRoleList(int offset, int limit, string sort, string order, string name, ref int rowCount);
        bool Add(string name);
        bool up(string name, string id);
        bool Del(string id);

        List<RoleDTO> SelectRoleID(string yor);
    }
}
